package com.jbp.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("protect_gifts")
public class ProtectGifts {
    //主键
    private Integer id;

    //抽奖的礼物id
    private Integer normalGiftId;

    //抽奖礼物价值
    private Integer normalCoin;

    //补偿礼物id
    private Integer laterGiftId;

    //补偿礼物价值
    private Integer laterCoin;

    //背包id
    private Integer userPacksackId;

    //中奖记录id
    private Integer userDailyLuckRecordId;

    //抽奖详情id
    private Integer lotteryRecordId;

    //1-未执行，2-执行过
    private Integer flag;

    //创建时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    //执行时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

}